<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!--<link rel="stylesheet" href="./lib/layui/css/layui.css">-->
    <link rel="stylesheet" href="css/allBasic.css">
    <link rel="stylesheet" href="css/sitePage.css">
    <script src="js/jquery-3.1.1.min.js"></script>
    <!--<script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>-->
    <script type="text/javascript" charset="utf-8" src="./lib/ueditor/1.4.3/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="./lib/ueditor/1.4.3/ueditor.all.min.js"> </script>
    <title></title>
</head>
<body>
<div class="page_box">
    <div class="page_box_head clearfix">
        <div class="l">
            <a class="mnav_btn list">公告管理></a><a href="notice.html" class="list">公告列表></a>添加公告
        </div>
        <div class="r">
            <a href="" class="refresh theme_bg">刷新</a>
        </div>
    </div>
    <div class="page_box_content">
        <ul class="form_area f_word5">
            <li>
                <label class="need">公告标题:</label>
                <div class="form_inputs">
                    <input type="text" class="f_element_h write" placeholder="填写标题">
                </div>
            </li>
            <li>
                <label class="need">文章内容:</label>
                <div class="form_inputs allw">
                    <script id="editor" type="text/plain" style="width:100%;max-width:1024px;height:500px;"></script>
                </div>
            </li>
            <li>
                <div class="form_inputs">
                    <button type="submit" class="submits f_element_h w_300" ><i class="iconfont">&#xe617;</i>保存没并提交</button>
                </div>
            </li>
        </ul>
    </div>
</div>
</body>
<script src="js/siteBasic.js"></script>
<script src="js/checkform.js"></script>
<script>
    $().ready(function(){
//        btnToggleOnAndOff(".btn_madebox");
        sureSubmitSimple(".submits" ,".write");
        ifmOpenLeftBar(".mnav_btn");
        refreshPage( ".refresh");
    });
    var ue = UE.getEditor('editor');
    ue.ready(function(){
//       ue.setContent("hello");
        var html=ue.getContent();
        var txt=ue.getContentTxt();
    });

</script>
</html>
